package com.pmcc.yn.repository;

import com.pmcc.core.config.utils.PageRequest;
import com.pmcc.core.entity.Answer;
import com.pmcc.core.entity.security.Role;
import com.pmcc.yn.entity.OrderList;
import com.pmcc.yn.entity.StoreInfo;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by yaonan on 2019/1/10.
 */
public interface StoreInfoRepository extends JpaRepository<StoreInfo,String> {

    Page<StoreInfo> findAll(Specification<StoreInfo> spec, Pageable var1);

    StoreInfo findById(String id);
}
